package com.strival.web.vo;

import java.io.Serializable;

/**
 * Author:zhangyu
 * create on 15/9/12.
 */
public class LoginResult implements Serializable {

    private boolean status;
    private String message;
    private String token;
    private UserInfo userInfo;

    public boolean isStatus() {
        return status;
    }

    public LoginResult setStatus(boolean status) {
        this.status = status;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public LoginResult setMessage(String message) {
        this.message = message;
        return this;
    }

    public String getToken() {
        return token;
    }

    public LoginResult setToken(String token) {
        this.token = token;
        return this;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public LoginResult setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
        return this;
    }
}
